package com.hz.userservice.service;

public interface UserManagerService {
    int addGrade(String gradeName,String gradeYear);

    int addClass(String className,int gradeId);

    int addManager(String username,String realname,String password);

    int addTeacher(String username,String realname,String password,String schoolId);

    int addStudent(String username,String realname,String password,String studentId,Integer gradeId,Integer classId);

    int editManager(Integer id,String username,String realname,String password);

    int editTeacher(Integer id,String username,String realname,String password,String schoolId);

    int editStudent(Integer id,String username,String realname,String password,String studentId,Integer gradeId,Integer classId);

    String login(String username,String password,Integer userType);

    int logout(String username);

    int changePwd(Integer id,String originPwd,String newPwd);
}
